package light.head.model.el;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 考试答案表
 */
@Table
@Entity
public class AnswerRecord implements Serializable{
	
	private static final long serialVersionUID = -7359723286967529684L;
	private Integer code;			// 流水号
	private Integer trc;			// 考试题目记录编号
	private Integer erc;			// 考试记录编号
	private Integer tc;				// 题目编号
	private String content;			// 答题内容(简答题答案)
	private Integer answerCode;		// 选择的答案编号
	
	
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	@Column
	public Integer getTrc() {
		return trc;
	}
	@Column
	public String getContent() {
		return content;
	}
	@Column
	public Integer getAnswerCode() {
		return answerCode;
	}
	@Column
	public Integer getErc() {
		return erc;
	}
	@Column
	public Integer getTc() {
		return tc;
	}
	
	
	
	
	public void setCode(Integer code) {
		this.code = code;
	}
	public void setTrc(Integer trc) {
		this.trc = trc;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public void setAnswerCode(Integer answerCode) {
		this.answerCode = answerCode;
	}
	public void setErc(Integer erc) {
		this.erc = erc;
	}
	public void setTc(Integer tc) {
		this.tc = tc;
	}
}
